MultiSafepay\WooCommerce\Services\ShoppingCartService S

Total Complexity 38
Dependencies 14
Dependents 1
Total lines 278
Lines of code 151
Logical lines of code 87
Comment lines 82
Methods 11
Properties 1

Methods 11

Method Rating Maintainability Complexity Lines of code
create_shopping_cart()
A
49 9 29
get_item_tax_rate()
S
52 6 25
get_shipping_tax_rate()
S
56 5 18
get_fee_tax_rate()
S
56 5 18
rounding_filter()
S
60 4 12
create_cart_item()
S
56 3 16
create_shipping_cart_item()
S
62 2 11
__construct()
S
79 1 3
create_fee_cart_item()
S
66 1 8
is_order_vat_exempt()
S
78 1 3
create_coupon_cart_item()
S
66 1 8